import request from '/@/utils/request';


export function getRecords(query: Object) {
    return request({
        url: '/api/v1/chat/records',
        method: 'get',
        params: query
    })
}

export function getRecord(query: Object) {
    return request({
        url: '/api/v1/chat/record/detail',
        method: 'get',
        params: query
    })
}